package main

import (
	"codeforcesbot"
	"math/rand"
	"net/http"
	"time"
)

func main() {
	rand.Seed(time.Now().Unix())
	codeforcesbot.SqlOpen()
	codeforcesbot.InitializeRouter()
	codeforcesbot.InitializeTimersAndTickers()
	http.HandleFunc("/", codeforcesbot.MainHandler)
	http.ListenAndServe(":5701", nil)
}